package com.lzh.shijicloudstack.model.dto.unit;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author luzhiheng
 * @date 2025-02-08
 */
@Data
public class AddUnitDto {

    @NotEmpty(message = "单位名称不能为空")
    @ApiModelProperty(value = "单位名称")
    private String name;
}
